<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        let arr1 = [68,79,54,89,56];
        let arr2 = arr1.map(item => {return item>=60?'及格':'不及格'});

        console.log(arr1);
        console.log(arr2);
    </script>

</head>
<body>

</body>
</html>